﻿<?xml version="1.0" encoding="utf-8" ?>
<AdoNetDataAccess connection="$CalendarDBConnection$" >
	<Sql>
		UPDATE CalendarEvents SET 
			startTime=@startTime,
			endTime=@endTime,
			extraContentId=@extraContentId,
			allDayEvent=@allDayEvent,
			eventTypeId=@eventTypeId, maxCapacity=@maxCapacity, locationId=@locationId
		WHERE id=@id
	</Sql>
	<Param name="id" type="UniqueIdentifier"/>
	<Param name="startTime" type="Date"/>
	<Param name="endTime" type="Date"/>
	<Param dbName="extraContentId" name="extraContent.id" type="UniqueIdentifier"/>
	<Param dbName="eventTypeId" name="type.id" type="UniqueIdentifier"/>
	<Param name="maxCapacity" type="Integer"/>
	<Param dbName="locationId" name="location.id" type="UniqueIdentifier"/>
	<Param name="allDayEvent" type="Boolean"/>
</AdoNetDataAccess>